compiler: replace opencoded __attribute__((noreturn))
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 4 Mar 2014 10:15:47 +0000 (11:15 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 4 Mar 2014 10:15:47 +0000 (11:15 +0100)
commit0a1082e8fd83ec648f5ddeb09b1b73e6865e675e
tree51969be9421521dd5636948012e2cd66661842ef
parent8179247eaec09a3e2c6bec6d251af4b74ce09b08
compiler: replace opencoded __attribute__((noreturn))

Make a formal define for noreturn in compiler.h, and fix up opencoded uses of
__attribute__((noreturn)).  This includes removing redundant uses with
function definitions which have a public declaration.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/arm/early_printk.c
xen/arch/x86/efi/boot.c
xen/arch/x86/shutdown.c
xen/include/asm-arm/early_printk.h
xen/include/asm-x86/processor.h
xen/include/xen/compiler.h
xen/include/xen/lib.h
xen/include/xen/sched.h